<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>freemarker</title>
    <link href="//unpkg.com/layui@2.7.6/dist/css/layui.css" rel="stylesheet"/>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="//unpkg.com/layui@2.7.6/dist/layui.js"></script>
    <script src="/webjars/jquery/3.5.1/jquery.js"></script>
    <script src="/aa.js"></script>
</head>
<body>
<span id="aazone.department">
<div class="layui-row">
   <select class="form-select"  lay-filter="department" id="department">
       <#if dataList??>
       <#list dataList as data>
           <option value="${data.id}">${data.department}</option>
       </#list>
       </#if>
   </select>
</div>
<!-- @end of zone [department]@ --></span>
<span id="aazone.refreshInfo">
    <table class="layui-table" lay-filter="info">
        <tbody>
        <#if dataList??>
        <#list dataList as data>
                <tr>
                    <td>${data.id}</td>
                    <td>${data.department}</td>
                </tr>
        </#list>
        </#if>
        </tbody>
    </table>
<!-- @end of zone [refreshInfo]@ --></span>
</body>
</html>